﻿<!--
  Extended Silverlight Toolkit - SAMPLE CODE

  Copyright (C) 2010-2012 Xceed Software Inc.

  This program is provided to you under the terms of the Microsoft Public
  License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license

  Please purchase a commercial version of this toolkit if you are using
  it in a commercial product. The commercial versions support the project,
  and also include more features for each control, priority support,
  source code, updates, removed watermark, and a proprietary license.

  Visit http://xceed.com and follow @datagrid on Twitter.
-->

<UserControl x:Class="Xceed.Silverlight.DataGrid.Samples.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:sample="clr-namespace:Xceed.Silverlight.DataGrid.Samples">

   <Grid x:Name="sampleRootGrid"
         Height="600"
         Width="800">
      <Grid.RowDefinitions>
         <RowDefinition Height="*" />
         <RowDefinition Height="115" />
      </Grid.RowDefinitions>

      <!-- This ContentControl will be filled with the ISampleSettings at runtime (if necessary) -->
      <ContentControl x:Name="settingsContentControl"
                      HorizontalContentAlignment="Stretch"
                      VerticalContentAlignment="Stretch"
                      Grid.Row="1" />

      <!-- This ContentControl will be filled with the ISampleHost at runtime -->
      <ContentControl x:Name="sampleContentControl"
                      HorizontalContentAlignment="Stretch"
                      VerticalContentAlignment="Stretch"
                      Grid.Row="0" />

   </Grid>
</UserControl>
